/*
 * @Author: askMeWhy
 * @Date:   2018-07-05 09:57:40
 * @Last Modified by: AskMeWhy
 * @Last Modified time: 2021-02-05 11:23:41
 */

 //当前环境 //false-> 正式  true -> 测试
// export const isDebug = false; // 正式
export const isDebug = true; // 测试

// 正式环境
export const pro_serverUrl = 'https://sapi.tianzuoyun.com/saas-api';
export const pro_staticUrl = 'https://tianzuoyun-pro-1304386495.cos.ap-chengdu.myqcloud.com';
// export const pro_staticUrl = 'https://tianzuoyun-prod.oss-cn-shenzhen.aliyuncs.com';

// 测试环境
export const debug_serverUrl = "http://192.168.1.101:9290/saas-api"; //测试
// export const debug_serverUrl = "http://192.168.1.9:9290/saas-api"; // 赵景驰
// export const debug_serverUrl = "http://192.168.1.24:9290/saas-api"; // 章贵敏
// export const debug_serverUrl = "http://192.168.1.64:9290/saas-api"; // 杨涛
// export const debug_serverUrl = "http://192.168.100.108:9290/saas-api";//薛
export const debug_staticUrl = "https://tianzuoyun-test-1304386495.cos.ap-chengdu.myqcloud.com";
export const serverUrl = isDebug ? debug_serverUrl : pro_serverUrl;
export const staticUrl = isDebug ? debug_staticUrl : pro_staticUrl;

export const API_DEFAULT_CONFIG = {
    BaseURL: serverUrl,
    StaticUrl:staticUrl,
    isDebug:isDebug,
    MockModel: {}
};
